<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    *{
        margin: 0;
        padding: 0;
    }
    .wrap{
        border: 1px solid red;
        width: 750px;
        height: 1000px;
        margin: 0 auto;
    }
    .nav{
        display: flex;
        flex-wrap: wrap;
    }
    .item{
        width: 20%;
        height: 100px;
        border: 0.5px solid blue;
    }
    </style>
</head>
<body>
    <div class="wrap">
        <div class="nav">
            <div class="item">分类</div>
            <div class="item">手机</div>
            <div class="item">电脑</div>
            <div class="item">家电</div>
            <div class="item">服装</div>
            <div class="item">亏钱</div>
            <div class="item">苏宁</div>
            <div class="item">添加手机</div>
            <div class="item">大减价</div>
            <div class="item">体彩</div>
        </div>
    </div>
</body>
</html>